import { ref, computed } from 'vue'
import { defineStore } from 'pinia'


import home from '@/components/icons/home.png'
import views from '@/components/icons/view.png'
import movie from '@/components/icons/movie.png'
import zongyi from '@/components/icons/zongyi.png'
import tiyu from '@/components/icons/tiyu.png'

import vip from '@/components/icons/vip.png'
import Game from '@/components/icons/Game.png'
import time from '@/components/icons/time.png'
import view from '@/components/icons/view-fill.png'
import download from '@/components/icons/download.png'
import user from '@/components/icons/user.png'

import one from '@/components/icons/1.jpg'
  import two from '@/components/icons/2.jpg'
  import three from '@/components/icons/3.jpg'
  import four from '@/components/icons/4.jpg'
  import five from '@/components/icons/5.jpg'

export const useimages = defineStore('images', () => {
  const bannerDate=[
    { id: 1, filename: one, name:"1" },
    { id: 2, filename: two, name:"2" },
    { id: 3, filename: three, name:"3"},
    { id: 4, filename: four, name:"4"},
    { id: 5, filename: five , name:"5"}
  ];
  const topimageData = [
    { id: 1,  filename: vip },
    { id: 2,  filename: Game },
    { id: 3,  filename: time},
    { id: 4,  filename: view},
    { id: 5,  filename: download},
    { id: 6,  filename: user}
  ];
    const toptitle = [
    { id: 1,  name:'全部'},
    { id: 2,  name:'国漫'},
    { id: 3,  name:'都市生活'},
    { id: 4,  name:'江湖武侠'},
    { id: 5,  name:'真实事件改编'},
    { id: 6,  name:'原创动画'},
    { id: 7,  name:'奇幻冒险'},
    { id: 8,  name:'东方仙侠'},
    { id: 9,  name:'古装爱情'},
    { id: 10,  name:'欧美电影'},
    { id: 11,  name:'犯罪动作'},
    { id: 12,  name:'东北戏剧'},
    { id: 13,  name:'经典动画'},
    { id: 14,  name:'甜虐爱情'},
    ];
    const bigtitle = [
        { id: 1,  name:'全部'},
        { id: 2,  name:'电视剧'},
        { id: 3,  name:'综艺'},
        { id: 4,  name:'电影'},
        { id: 5,  name:'动漫'},
        { id: 6,  name:'少儿'},
        { id: 7,  name:'纪录片'},
        ];
    const agreement=[
        { id: 1,  name:'腾讯视频隐私保护指引'},
        { id: 2,  name:'腾讯视频用户服务协议'},
        { id: 3,  name:'腾讯视频第三方信息共享清单'},
        { id: 4,  name:'腾讯视频已收集个人信息清单'},
        { id: 5,  name:'腾讯儿童隐私保护声明'},
        { id: 6,  name:'腾讯儿童隐私保护声明'},
    ];
    const imageData = [
        { id: 1, name: '首页', filename: home  , issue: `/`},
        { id: 2, name: '视频', filename: views , issue: `/video` },
        { id: 3, name: '电影', filename: movie, issue: `/movie`},
        { id: 4, name: '综艺', filename: zongyi, issue: `/variety`},
        { id: 5, name: '中视频', filename: tiyu, issue: `/tv`},
        { id: 6, name: '动漫', filename: zongyi, issue: `/cartoon`},
        { id: 7, name: '少儿', filename: zongyi, issue: `/child`},
        { id: 8, name: '体育', filename: zongyi, issue: `/sport`},
        { id: 9, name: '纪录片', filename: zongyi, issue: `/doco`},
      ];
    

  return { bannerDate,topimageData,toptitle,bigtitle ,agreement,imageData}
})
